Home
last modified time | relevance | path

Searched refs:gid (Results 1 – 25 of 54) sorted by relevance

123

/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbVendorUciResponse.java24 public int gid; field in UwbVendorUciResponse
27 public UwbVendorUciResponse(byte status, int gid, int oid, byte[] payload) { in UwbVendorUciResponse() argument
29 this.gid = gid; in UwbVendorUciResponse()
39 return status == that.status && gid == that.gid && oid == that.oid in equals()
45 return Objects.hash(status, gid, oid, Arrays.hashCode(payload)); in hashCode()
52 + ", gid=" + gid in toString()
/packages/apps/Nfc/src/com/android/nfc/
DNfcVendorNciResponse.java23 public int gid; field in NfcVendorNciResponse
26 public NfcVendorNciResponse(byte status, int gid, int oid, byte[] payload) { in NfcVendorNciResponse() argument
28 this.gid = gid; in NfcVendorNciResponse()
37 + ", gid=" + gid in toString()
DDeviceHost.java52 public void onVendorSpecificEvent(int gid, int oid, byte[] payload); in onVendorSpecificEvent() argument
240 NfcVendorNciResponse sendRawVendorCmd(int mt, int gid, int oid, byte[] payload); in sendRawVendorCmd() argument
/packages/modules/Uwb/indev_uwb_adaptation/java/com/android/server/uwb/indev/
DUwbServiceCore.java105 public void onVendorUciNotificationReceived(int gid, int oid, byte[] payload) { in onVendorUciNotificationReceived() argument
106 Log.d(TAG, "onVendorUciNotificationReceived(" + gid + ", " + oid + ", " + Arrays.toString( in onVendorUciNotificationReceived()
108 mUwbServiceListener.onVendorUciNotificationReceived(gid, oid, payload); in onVendorUciNotificationReceived()
231 public UwbVendorUciResponse sendVendorCommand(int gid, int oid, byte[] payload) { in sendVendorCommand() argument
232 return nativeSendVendorCmd(gid, oid, payload); in sendVendorCommand()
270 private native UwbVendorUciResponse nativeSendVendorCmd(int gid, int oid, byte[] payload); in nativeSendVendorCmd() argument
DIUwbServiceListener.java66 void onVendorUciNotificationReceived(int gid, int oid, byte[] payload); in onVendorUciNotificationReceived() argument
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
Dbpf_helpers.h249 .gid = (grp), \
366 #define DEFINE_BPF_MAP_RO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument
368 DEFAULT_BPF_MAP_UID, gid, 0440)
370 #define DEFINE_BPF_MAP_GWO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument
372 DEFAULT_BPF_MAP_UID, gid, 0620)
374 #define DEFINE_BPF_MAP_GRO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument
376 DEFAULT_BPF_MAP_UID, gid, 0640)
378 #define DEFINE_BPF_MAP_GRW(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument
380 DEFAULT_BPF_MAP_UID, gid, 0660)
405 .gid = (prog_gid), \
Dbpf_map_def.h172 unsigned int gid; // gid_t member
228 unsigned int gid; member
/packages/modules/adb/libs/libadbd_fs/
Dadbd_fs.cpp22 void adbd_fs_config(const char* path, int dir, const char* target_out_path, uid_t* uid, gid_t* gid, in adbd_fs_config() argument
31 *gid = conf.gid; in adbd_fs_config()
/packages/modules/Uwb/framework/java/android/uwb/
DUwbVendorUciCallbackListener.java80 public void onVendorResponseReceived(int gid, int oid, @NonNull byte[] payload) in onVendorResponseReceived() argument
87 executor.execute(() -> callback.onVendorUciResponse(gid, oid, payload)); in onVendorResponseReceived()
98 public void onVendorNotificationReceived(int gid, int oid, @NonNull byte[] payload) in onVendorNotificationReceived() argument
105 executor.execute(() -> callback.onVendorUciNotification(gid, oid, payload)); in onVendorNotificationReceived()
DIUwbVendorUciCallback.aidl21 void onVendorResponseReceived(int gid, int oid, in byte[] payload); in onVendorResponseReceived() argument
22 void onVendorNotificationReceived(int gid, int oid, in byte[] payload); in onVendorNotificationReceived() argument
DUwbManager.java325 @IntRange(from = 0, to = 15) int gid, int oid, @NonNull byte[] payload); in onVendorUciResponse()
336 @IntRange(from = 9, to = 15) int gid, int oid, @NonNull byte[] payload); in onVendorUciNotification()
1129 @IntRange(from = 0, to = 15) int gid, int oid, @NonNull byte[] payload) { in sendVendorUciMessage()
1132 return mUwbAdapter.sendVendorUciMessage(MESSAGE_TYPE_COMMAND, gid, oid, payload); in sendVendorUciMessage()
1157 @IntRange(from = 0, to = 15) int gid, int oid, @NonNull byte[] payload) { in sendVendorUciMessage()
1160 return mUwbAdapter.sendVendorUciMessage(mt, gid, oid, payload); in sendVendorUciMessage()
/packages/modules/adb/daemon/
Dfile_sync_service.cpp116 gid_t gid = -1; in secure_mkdirs() local
130 adbd_fs_config(partial_path.c_str(), true, nullptr, &uid, &gid, &mode, &capabilities); in secure_mkdirs()
137 if (chown(partial_path.c_str(), uid, gid) == -1) return false; in secure_mkdirs()
183 msg.stat_v2.gid = st.st_gid; in do_stat_v2()
227 msg.gid = st.st_gid; in do_list()
355 gid_t gid, uint64_t capabilities, mode_t mode, in handle_send_file() argument
379 if (fchown(fd.get(), uid, gid) == -1) { in handle_send_file()
387 SendSyncFailErrno(s, StringPrintf("fchown() failed uid: %d gid: %d", uid, gid)); in handle_send_file()
538 gid_t gid = -1; in send_impl() local
541 adbd_fs_config(path.c_str(), false, nullptr, &uid, &gid, &mode, &capabilities); in send_impl()
[all …]
/packages/modules/Virtualization/zipfuse/src/
Dmain.rs51 let gid: u32 = matches.get_one::<String>("gid").map_or(0, |s| s.parse().unwrap()); in main() localVariable
52 run_fuse(zip_file, mount_point, options, noexec, ready_prop, uid, gid)?; in main()
90 gid: u32, in run_fuse()
123 Ok(config.enter_message_loop(ZipFuse::new(zip_file, uid, gid)?)?) in run_fuse()
133 gid: u32, field
166 fn new(zip_file: &Path, uid: u32, gid: u32) -> Result<ZipFuse> { in new()
182 gid, in new()
207 st.st_gid = self.gid; in stat_from()
484 gid: u32, field
492 crate::run_fuse(&zip_path, &mnt_path, None, opt.noexec, opt.uid, opt.gid).unwrap(); in start_fuse()
[all …]
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java486 public int gid; field in UwbManagerTest.UwbVendorUciCallback
498 public void onVendorUciResponse(int gid, int oid, byte[] payload) { in onVendorUciResponse() argument
499 this.gid = gid; in onVendorUciResponse()
506 public void onVendorUciNotification(int gid, int oid, byte[] payload) { in onVendorUciNotification() argument
507 this.gid = gid; in onVendorUciNotification()
1670 int gid = 9; in testSendVendorUciMessageVendorGid() local
1672 mUwbManager.sendVendorUciMessage(gid, oid, payload); in testSendVendorUciMessageVendorGid()
1676 assertThat(cb.gid).isEqualTo(gid); in testSendVendorUciMessageVendorGid()
1704 int gid = 1; in testSendVendorUciMessageFiraGid() local
1706 mUwbManager.sendVendorUciMessage(gid, oid, payload); in testSendVendorUciMessageFiraGid()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/jni/
DNativeUwbManager.java125 public void onVendorUciNotificationReceived(int gid, int oid, byte[] payload) { in onVendorUciNotificationReceived() argument
126 Log.d(TAG, "onVendorUciNotificationReceived: " + gid + ", " + oid + ", " in onVendorUciNotificationReceived()
128 mVendorListener.onVendorUciNotificationReceived(gid, oid, payload); in onVendorUciNotificationReceived()
408 public UwbVendorUciResponse sendRawVendorCmd(int mt, int gid, int oid, byte[] payload, in sendRawVendorCmd() argument
411 return nativeSendRawVendorCmd(mt, gid, oid, payload, chipId); in sendRawVendorCmd()
610 private native UwbVendorUciResponse nativeSendRawVendorCmd(int mt, int gid, int oid, in nativeSendRawVendorCmd() argument
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dapi.rs283 gid: jint, in Java_com_android_server_uwb_indev_UwbServiceCore_nativeSendRawVendorCmd()
289 send_raw_vendor_cmd(JniContext::new(env, obj), mt, gid, oid, payload), in Java_com_android_server_uwb_indev_UwbServiceCore_nativeSendRawVendorCmd()
394 gid: jint, in send_raw_vendor_cmd()
401 let gid = gid as u32; in send_raw_vendor_cmd() localVariable
409 let vendor_message = uwb_service.raw_uci_cmd(mt, gid, oid, payload); in send_raw_vendor_cmd()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DFileUtils.java68 public int gid; field in FileUtils.FileStatus
123 public native static String getGroupName(int gid); in getGroupName() argument
/packages/modules/adb/
Dfile_sync_protocol.h63 uint32_t gid; member
86 uint32_t gid; member
/packages/modules/Connectivity/service/jni/
Dcom_android_server_connectivity_ClatCoordinator.cpp61 const mode_t mode, const uid_t uid, const gid_t gid, in verifyPerms() argument
69 if (s.st_gid != gid) ALOGF("'%s' gid is %d != %d", path, s.st_gid, gid); in verifyPerms()
97 #define V(path, md, uid, gid, ctx, vtype) \ argument
98 verifyPerms((path), (md), AID_ ## uid, AID_ ## gid, "u:object_r:" ctx ":s0", VERIFY_ ## vtype)
/packages/modules/Bluetooth/system/bta/groups/
Dgroups.cc110 auto gid = GetGroupId(addr, uuid); in AddDevice() local
111 if (gid != kGroupUnknown) return gid; in AddDevice()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java2038 public void onCodecConfigChanged(int gid, BluetoothLeAudioCodecStatus status) {} in sendEventAndVerifyIntentForGroupStatusChanged()
2041 public void onGroupStatusChanged(int gid, int gStatus) { in sendEventAndVerifyIntentForGroupStatusChanged()
2043 assertThat(gid == groupId).isTrue(); in sendEventAndVerifyIntentForGroupStatusChanged()
2048 public void onGroupNodeAdded(BluetoothDevice device, int gid) {} in sendEventAndVerifyIntentForGroupStatusChanged()
2051 public void onGroupNodeRemoved(BluetoothDevice device, int gid) {} in sendEventAndVerifyIntentForGroupStatusChanged()
2092 public void onCodecConfigChanged(int gid, BluetoothLeAudioCodecStatus status) {} in sendEventAndVerifyGroupStreamStatusChanged()
2095 public void onGroupStatusChanged(int gid, int gStatus) {} in sendEventAndVerifyGroupStreamStatusChanged()
2098 public void onGroupNodeAdded(BluetoothDevice device, int gid) {} in sendEventAndVerifyGroupStreamStatusChanged()
2101 public void onGroupNodeRemoved(BluetoothDevice device, int gid) {} in sendEventAndVerifyGroupStreamStatusChanged()
2104 public void onGroupStreamStatusChanged(int gid, int gStreamStatus) { in sendEventAndVerifyGroupStreamStatusChanged()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DThreshold.java60 private Threshold(int tid, int gid, Threshold t) { in Threshold() argument
62 this.mGroupId = gid; in Threshold()
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/
DConfigManager.h181 std::unique_ptr<CameraGroupInfo>& getCameraGroupInfo(const std::string& gid) { in getCameraGroupInfo() argument
185 return mCameraGroups[gid]; in getCameraGroupInfo()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DConfigManager.h177 std::unique_ptr<CameraGroupInfo>& getCameraGroupInfo(const std::string& gid) { in getCameraGroupInfo() argument
181 return mCameraGroups[gid]; in getCameraGroupInfo()
/packages/modules/adb/libs/libadbd_fs/include/
Dadbd_fs.h24 void adbd_fs_config(const char* path, int dir, const char* target_out_path, uid_t* uid, gid_t* gid,

123