/aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/testing/ |
H A D | file.cc | 52 namespace protobuf { namespace 62 using google::protobuf::io::win32::access; 63 using google::protobuf::io::win32::chdir; 64 using google::protobuf::io::win32::fopen; 65 using google::protobuf::io::win32::mkdir; 66 using google::protobuf::io::win32::stat; 126 bool File::CreateDir(const std::string& name, int mode) { in CreateDir() argument 130 return mkdir(name.c_str(), mode) == 0; in CreateDir() 133 bool File::RecursivelyCreateDir(const std::string& path, int mode) { in RecursivelyCreateDir() argument 134 if (CreateDir(path, mode)) return true; in RecursivelyCreateDir() [all …]
|
/aosp_15_r20/external/protobuf/src/google/protobuf/testing/ |
H A D | file.cc | 52 namespace protobuf { namespace 62 using google::protobuf::io::win32::access; 63 using google::protobuf::io::win32::chdir; 64 using google::protobuf::io::win32::fopen; 65 using google::protobuf::io::win32::mkdir; 66 using google::protobuf::io::win32::stat; 126 bool File::CreateDir(const std::string& name, int mode) { in CreateDir() argument 130 return mkdir(name.c_str(), mode) == 0; in CreateDir() 133 bool File::RecursivelyCreateDir(const std::string& path, int mode) { in RecursivelyCreateDir() argument 134 if (CreateDir(path, mode)) return true; in RecursivelyCreateDir() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/ |
D | mediaplayer.proto | 7 import "google/protobuf/empty.proto"; 11 rpc Play(google.protobuf.Empty) returns (google.protobuf.Empty); 12 rpc Stop(google.protobuf.Empty) returns (google.protobuf.Empty); 13 rpc Pause(google.protobuf.Empty) returns (google.protobuf.Empty); 14 rpc Rewind(google.protobuf.Empty) returns (google.protobuf.Empty); 15 rpc FastForward(google.protobuf.Empty) returns (google.protobuf.Empty); 16 rpc Forward(google.protobuf.Empty) returns (google.protobuf.Empty); 17 rpc Backward(google.protobuf.Empty) returns (google.protobuf.Empty); 18 rpc SetLargeMetadata(google.protobuf.Empty) returns (google.protobuf.Empty); 19 rpc UpdateQueue(google.protobuf.Empty) returns (google.protobuf.Empty); [all …]
|
/aosp_15_r20/packages/modules/ConfigInfrastructure/aconfigd/src/ |
D | utils.rs | 25 pub(crate) fn set_file_permission(file: &Path, mode: u32) -> Result<(), AconfigdError> { in set_file_permission() 26 let perms = std::fs::Permissions::from_mode(mode); in set_file_permission() 28 AconfigdError::FailToUpdateFilePerm { file: file.display().to_string(), mode, errmsg } in set_file_permission() 34 pub(crate) fn copy_file(src: &Path, dst: &Path, mode: u32) -> Result<(), AconfigdError> { in copy_file() 40 set_file_permission(dst, mode) in copy_file() 52 pub(crate) fn read_pb_from_file<T: protobuf::Message>(file: &Path) -> Result<T, AconfigdError> { in read_pb_from_file() 61 protobuf::Message::parse_from_bytes(data.as_ref()).map_err(|errmsg| { in read_pb_from_file() 67 pub(crate) fn write_pb_to_file<T: protobuf::Message>( in write_pb_to_file() 71 let bytes = protobuf::Message::write_to_bytes(pb).map_err(|errmsg| { in write_pb_to_file() 124 metadata.permissions().mode() & 0o777 in get_file_perm_mode()
|
/aosp_15_r20/external/googleapis/google/firestore/admin/v1/ |
H A D | database.proto | 21 import "google/protobuf/duration.proto"; 22 import "google/protobuf/timestamp.proto"; 57 // The type of concurrency control mode for transactions. 62 // Use optimistic concurrency control by default. This mode is available 66 // Use pessimistic concurrency control by default. This mode is available 74 // This is the only available mode for Cloud Datastore. 76 // This mode is also available for Cloud Firestore with Datastore Mode but 101 // The type of App Engine integration mode. 140 google.protobuf.Timestamp create_time = 5 146 google.protobuf.Timestamp update_time = 6 [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/visionai/v1alpha1/ |
H A D | streaming_service.proto | 22 import "google/protobuf/duration.proto"; 23 import "google/protobuf/timestamp.proto"; 103 // Controller mode configuration for receiving events from the server. 112 google.protobuf.Duration heartbeat_interval = 5; 120 google.protobuf.Duration writes_done_grace_period = 6; 144 google.protobuf.Timestamp update_time = 4; 195 google.protobuf.Timestamp expire_time = 4; 210 google.protobuf.Duration term = 3; 228 google.protobuf.Duration term = 4; 269 google.protobuf.Duration lease_term = 6; [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/visionai/v1/ |
H A D | streaming_service.proto | 22 import "google/protobuf/duration.proto"; 23 import "google/protobuf/timestamp.proto"; 104 // Controller mode configuration for receiving events from the server. 113 google.protobuf.Duration heartbeat_interval = 5; 121 google.protobuf.Duration writes_done_grace_period = 6; 145 google.protobuf.Timestamp update_time = 4; 196 google.protobuf.Timestamp expire_time = 4; 211 google.protobuf.Duration term = 3; 229 google.protobuf.Duration term = 4; 268 google.protobuf.Duration lease_term = 6; [all …]
|
/aosp_15_r20/external/pandora/bt-test-interfaces/pandora/ |
D | host.proto | 21 import "google/protobuf/empty.proto"; 22 import "google/protobuf/any.proto"; 26 // At startup, the Host must be in BR/EDR connectable mode 35 rpc FactoryReset(google.protobuf.Empty) returns (google.protobuf.Empty); 38 rpc Reset(google.protobuf.Empty) returns (google.protobuf.Empty); 41 rpc ReadLocalAddress(google.protobuf.Empty) returns (ReadLocalAddressResponse); 71 rpc Disconnect(DisconnectRequest) returns (google.protobuf.Empty); 73 rpc WaitDisconnection(WaitDisconnectionRequest) returns (google.protobuf.Empty); 86 rpc Inquiry(google.protobuf.Empty) returns (stream InquiryResponse); 87 // Set BR/EDR discoverability mode. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/ |
H A D | gsuiteaddons.proto | 30 import "google/protobuf/empty.proto"; 31 import "google/protobuf/wrappers.proto"; 58 // A Google Workspace Add-on deployment can be installed in developer mode, 61 // running in developer mode, more detailed error messages are exposed in the 119 returns (google.protobuf.Empty) { 126 // Installs a deployment in developer mode. 130 returns (google.protobuf.Empty) { 138 // Uninstalls a developer mode deployment. 142 returns (google.protobuf.Empty) { 150 // Fetches the install status of a developer mode deployment. [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/gsuiteaddons/v1/ |
H A D | gsuiteaddons.proto | 30 import "google/protobuf/empty.proto"; 31 import "google/protobuf/wrappers.proto"; 58 // A Google Workspace Add-on deployment can be installed in developer mode, 61 // running in developer mode, more detailed error messages are exposed in the 119 returns (google.protobuf.Empty) { 126 // Installs a deployment in developer mode. 130 returns (google.protobuf.Empty) { 138 // Uninstalls a developer mode deployment. 142 returns (google.protobuf.Empty) { 150 // Fetches the install status of a developer mode deployment. [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/tools/ |
H A D | freeze_graph.py | 42 from google.protobuf import text_format 44 from tensorflow.core.protobuf import saver_pb2 45 from tensorflow.core.protobuf.meta_graph_pb2 import MetaGraphDef 244 mode = "rb" if input_binary else "r" 245 with gfile.GFile(input_graph, mode) as f: 258 mode = "rb" if input_binary else "r" 259 with gfile.GFile(input_graph, mode) as f: 272 mode = "rb" if input_binary else "r" 273 with gfile.GFile(input_saver, mode) as f:
|
/aosp_15_r20/external/google-cloud-java/java-profiler/proto-google-cloud-profiler-v2/src/main/proto/google/devtools/cloudprofiler/v2/ |
H A D | profiler.proto | 23 import "google/protobuf/duration.proto"; 24 import "google/protobuf/field_mask.proto"; 39 // * Profiles can be created in either online or offline mode, see below. 47 // CreateProfile creates a new profile resource in the online mode. 68 // CreateOfflineProfile creates a new profile resource in the offline mode. 80 // created in the online mode. Updating the bytes for profiles created in the 81 // offline mode is currently not supported: the profile content must be 131 google.protobuf.FieldMask update_mask = 2; 145 // For offline mode, this must be specified when creating the profile. For 146 // online mode it is assigned and returned by the server. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-redis/proto-google-cloud-redis-v1beta1/src/main/proto/google/cloud/redis/v1beta1/ |
H A D | cloud_redis.proto | 24 import "google/protobuf/duration.proto"; 25 import "google/protobuf/field_mask.proto"; 26 import "google/protobuf/timestamp.proto"; 108 metadata_type: "google.protobuf.Any" 125 metadata_type: "google.protobuf.Any" 139 metadata_type: "google.protobuf.Any" 159 metadata_type: "google.protobuf.Any" 177 metadata_type: "google.protobuf.Any" 191 metadata_type: "google.protobuf.Any" 203 response_type: "google.protobuf.Empty" [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/redis/v1beta1/ |
H A D | cloud_redis.proto | 24 import "google/protobuf/duration.proto"; 25 import "google/protobuf/field_mask.proto"; 26 import "google/protobuf/timestamp.proto"; 108 metadata_type: "google.protobuf.Any" 125 metadata_type: "google.protobuf.Any" 139 metadata_type: "google.protobuf.Any" 159 metadata_type: "google.protobuf.Any" 177 metadata_type: "google.protobuf.Any" 191 metadata_type: "google.protobuf.Any" 203 response_type: "google.protobuf.Empty" [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/upb/mini_table/ |
D | encode_test.cc | 47 namespace protobuf = ::google::protobuf; 79 EXPECT_EQ(kUpb_FieldMode_Scalar, f->mode & kUpb_FieldMode_Mask); in TEST_P() 105 EXPECT_EQ(kUpb_FieldMode_Array, f->mode & kUpb_FieldMode_Mask); in TEST_P() 134 EXPECT_EQ(kUpb_FieldMode_Scalar, f->mode & kUpb_FieldMode_Mask); in TEST_P() 163 EXPECT_EQ(kUpb_FieldMode_Scalar, f->mode & kUpb_FieldMode_Mask); in TEST_P() 213 for (int i = 1; i <= protobuf::FieldDescriptor::MAX_TYPE; i++) { in TEST() 215 protobuf::FieldDescriptor::IsTypePackable( in TEST() 216 static_cast<protobuf::FieldDescriptor::Type>(i))); in TEST()
|
/aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/extensions/load_balancing_policies/common/v3/ |
H A D | common.proto | 8 import "google/protobuf/duration.proto"; 9 import "google/protobuf/wrappers.proto"; 37 google.protobuf.UInt64Value min_cluster_size = 2; 40 // mode<arch_overview_load_balancing_panic_threshold>`. Instead, the cluster will fail all 62 // Configuration for :ref:`slow start mode <arch_overview_load_balancing_slow_start>`. 65 // If set, the newly created host remains in slow start mode starting from its creation time 67 google.protobuf.Duration slow_start_window = 1; 84 // which may cause endpoints in slow start mode receive no traffic in slow start window. 113 google.protobuf.UInt32Value hash_balance_factor = 2 [(validate.rules).uint32 = {gte: 100}];
|
/aosp_15_r20/external/googleapis/google/devtools/cloudprofiler/v2/ |
H A D | profiler.proto | 23 import "google/protobuf/duration.proto"; 24 import "google/protobuf/field_mask.proto"; 25 import "google/protobuf/timestamp.proto"; 47 // CreateProfile creates a new profile resource in the online mode. 74 // mode. The client provides the profile to create along with the profile 90 // created in the online mode. Updating the bytes for profiles created in the 91 // offline mode is currently not supported: the profile content must be 165 google.protobuf.FieldMask update_mask = 2; 179 // For offline mode, this must be specified when creating the profile. For 180 // online mode it is assigned and returned by the server. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/ |
H A D | resources.proto | 21 import "google/protobuf/duration.proto"; 22 import "google/protobuf/timestamp.proto"; 56 // The processing mode of the job. 58 // The job processing mode is not specified. 61 // The job processing mode is interactive mode. 66 // The job processing mode is batch mode. 67 // Batch mode allows queuing of jobs. 109 google.protobuf.Timestamp create_time = 12 113 google.protobuf.Timestamp start_time = 13 117 google.protobuf.Timestamp end_time = 14 [all …]
|
/aosp_15_r20/external/googleapis/google/datastore/v1/ |
H A D | datastore.proto | 27 import "google/protobuf/timestamp.proto"; 114 "project_id,mode,transaction,mutations"; 115 option (google.api.method_signature) = "project_id,mode,mutations"; 205 google.protobuf.Timestamp read_time = 7; 395 Mode mode = 5; field 397 // Must be set when mode is `TRANSACTIONAL`. 406 // [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be 413 // When mode is `TRANSACTIONAL`, mutations affecting a single entity are 422 // When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single 438 google.protobuf.Timestamp commit_time = 8; [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/video/transcoder/v1/ |
H A D | resources.proto | 21 import "google/protobuf/duration.proto"; 22 import "google/protobuf/timestamp.proto"; 56 // The processing mode of the job. 58 // The job processing mode is not specified. 61 // The job processing mode is interactive mode. 66 // The job processing mode is batch mode. 67 // Batch mode allows queuing of jobs. 121 google.protobuf.Timestamp create_time = 12 125 google.protobuf.Timestamp start_time = 13 129 google.protobuf.Timestamp end_time = 14 [all …]
|
/aosp_15_r20/system/chre/apps/test/common/chre_api_test/rpc/ |
H A D | chre_api_test.proto | 5 import "google/protobuf/empty.proto"; 12 rpc ChreBleGetCapabilities(google.protobuf.Empty) returns (Capabilities) {} 15 rpc ChreBleGetFilterCapabilities(google.protobuf.Empty) 32 // Configures a sensor's mode. 70 rpc ChreBleStopScanSync(google.protobuf.Empty) 307 uint32 mode = 2; field 315 uint32 mode = 2; field 349 // Enumeration for BLE scan mode 376 ChreBleScanMode mode = 1; field
|
/aosp_15_r20/external/googleapis/google/cloud/redis/v1/ |
H A D | cloud_redis.proto | 24 import "google/protobuf/duration.proto"; 25 import "google/protobuf/empty.proto"; 26 import "google/protobuf/field_mask.proto"; 27 import "google/protobuf/timestamp.proto"; 213 response_type: "google.protobuf.Empty" 321 // Read replicas mode. 388 // Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses 391 // network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP 399 // read replicas on an existing instance. For DIRECT_PEERING mode value must 400 // be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode [all …]
|
/aosp_15_r20/external/google-cloud-java/java-redis/proto-google-cloud-redis-v1/src/main/proto/google/cloud/redis/v1/ |
H A D | cloud_redis.proto | 24 import "google/protobuf/duration.proto"; 25 import "google/protobuf/empty.proto"; 26 import "google/protobuf/field_mask.proto"; 27 import "google/protobuf/timestamp.proto"; 213 response_type: "google.protobuf.Empty" 321 // Read replicas mode. 388 // Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses 391 // network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP 399 // read replicas on an existing instance. For DIRECT_PEERING mode value must 400 // be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/grappler/ |
H A D | remapper_test.py | 25 from tensorflow.core.protobuf import config_pb2 26 from tensorflow.core.protobuf import rewriter_config_pb2 83 def maybe_skip_test(self, mode): argument 84 if mode == 'cuda': 98 if mode == 'mkl' and not test_util.IsMklEnabled(): 141 def test_matmul_biasadd_gelu_fusion(self, mode): argument 143 self.maybe_skip_test(mode) 145 if mode == 'cuda': 147 elif mode == 'mkl': 165 if mode == 'cuda' and not approximate: [all …]
|
/aosp_15_r20/external/googleapis/google/firestore/v1beta1/ |
H A D | common.proto | 19 import "google/protobuf/timestamp.proto"; 51 google.protobuf.Timestamp update_time = 2; 65 // The consistency mode for this transaction. If not set, defaults to strong 70 google.protobuf.Timestamp read_time = 2; 74 // The mode of the transaction. 75 oneof mode { oneof
|