/frameworks/ml/nn/runtime/test/generated/models/ |
D | transpose.model.cpp | 8 auto perms = model->addOperand(&type1); in CreateModel() local 12 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel() 13 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel() 32 auto perms = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 36 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 37 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel_dynamic_output_shape()
|
D | transpose_float16.model.cpp | 8 auto perms = model->addOperand(&type1); in CreateModel() local 12 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel() 13 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel() 32 auto perms = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 36 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 37 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel_dynamic_output_shape()
|
D | transpose_quant8_1.model.cpp | 9 auto perms = model->addOperand(&type1); in CreateModel() local 13 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel() 14 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel() 33 auto perms = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 37 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 38 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel_dynamic_output_shape()
|
D | transpose_float_1_relaxed.model.cpp | 9 auto perms = model->addOperand(&type1); in CreateModel() local 13 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel() 14 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel() 35 auto perms = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 39 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 40 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel_dynamic_output_shape()
|
D | transpose_relaxed.model.cpp | 8 auto perms = model->addOperand(&type1); in CreateModel() local 12 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel() 13 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel() 34 auto perms = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 38 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 39 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel_dynamic_output_shape()
|
D | transpose_float_1.model.cpp | 9 auto perms = model->addOperand(&type1); in CreateModel() local 13 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel() 14 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel() 33 auto perms = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 37 model->setOperandValue(perms, perms_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 38 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel_dynamic_output_shape()
|
D | transpose_v1_2.model.cpp | 8 auto perms = model->addOperand(&type1); in CreateModel() local 11 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel() 14 {input, perms}, in CreateModel() 29 auto perms = model->addOperand(&type1); in CreateModel_relaxed() local 32 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel_relaxed() 35 {input, perms}, in CreateModel_relaxed() 52 auto perms = model->addOperand(&type1); in CreateModel_quant8() local 55 model->addOperation(ANEURALNETWORKS_TRANSPOSE, {input, perms}, {output}); in CreateModel_quant8() 58 {input, perms}, in CreateModel_quant8() 74 auto perms = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local [all …]
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerService.java | 236 final ArrayMap<GrantUri, UriPermission> perms = mGrantedUriPermissions.get( in getUriPermissions() local 238 if (perms == null) { in getUriPermissions() 241 for (int j = 0; j < perms.size(); j++) { in getUriPermissions() 242 final UriPermission perm = perms.valueAt(j); in getUriPermissions() 252 final ArrayMap<GrantUri, UriPermission> perms = in getUriPermissions() local 254 for (int j = 0; j < perms.size(); j++) { in getUriPermissions() 255 final UriPermission perm = perms.valueAt(j); in getUriPermissions() 277 final ArrayMap<GrantUri, UriPermission> perms = mGrantedUriPermissions.valueAt(i); in getGrantedUriPermissions() local 278 for (int j = 0; j < perms.size(); j++) { in getGrantedUriPermissions() 279 final UriPermission perm = perms.valueAt(j); in getGrantedUriPermissions() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 72 GrantedUriPermissions perms = null; in createFromIntent() local 76 perms = grantUri(am, data, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 77 perms); in createFromIntent() 82 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 83 perms); in createFromIntent() 86 return perms; in createFromIntent() 94 GrantedUriPermissions perms = null; in createFromClip() local 96 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, in createFromClip() 97 tag, perms); in createFromClip() 99 return perms; in createFromClip()
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | transpose_v1_2.mod.py | 20 perms = Input("perms", "TENSOR_INT32", "{0}") variable 23 model = model.Operation("TRANSPOSE", i1, perms).To(output) 35 perms: [],
|
D | transpose_float16.mod.py | 3 perms = Parameter("perms", "TENSOR_INT32", "{4}", [0, 2, 1, 3]) variable 6 model = model.Operation("TRANSPOSE", i1, perms).To(output)
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | transpose_float_1.mod.py | 3 perms = Parameter("perms", "TENSOR_INT32", "{4}", [2, 0, 1, 3]) variable 6 model = model.Operation("TRANSPOSE", i1, perms).To(output)
|
D | transpose.mod.py | 3 perms = Parameter("perms", "TENSOR_INT32", "{4}", [0, 2, 1, 3]) variable 6 model = model.Operation("TRANSPOSE", i1, perms).To(output)
|
D | transpose_quant8_1.mod.py | 3 perms = Parameter("perms", "TENSOR_INT32", "{4}", [2, 0, 1, 3]) variable 6 model = model.Operation("TRANSPOSE", i1, perms).To(output)
|
D | transpose_float_1_relaxed.mod.py | 19 perms = Parameter("perms", "TENSOR_INT32", "{4}", [2, 0, 1, 3]) variable 22 model = model.Operation("TRANSPOSE", i1, perms).To(output)
|
D | transpose_relaxed.mod.py | 19 perms = Parameter("perms", "TENSOR_INT32", "{4}", [0, 2, 1, 3]) variable 22 model = model.Operation("TRANSPOSE", i1, perms).To(output)
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 445 int perms = FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IWGRP; in setFilePermissionsForDb() local 446 FileUtils.setPermissions(dbPath, perms, -1, -1); in setFilePermissionsForDb()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 199 ArraySet<String> perms = systemPermission.valueAt(i); in startMonitoring() local 203 if (perms != null) { in startMonitoring() 204 netdPermission |= perms.contains(UPDATE_DEVICE_STATS) in startMonitoring() 206 netdPermission |= perms.contains(INTERNET) in startMonitoring()
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 566 ArraySet<String> perms = mSystemPermissions.get(uid); in readPermissionsFromXml() local 567 if (perms == null) { in readPermissionsFromXml() 568 perms = new ArraySet<String>(); in readPermissionsFromXml() 569 mSystemPermissions.put(uid, perms); in readPermissionsFromXml() 571 perms.add(perm); in readPermissionsFromXml()
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 539 int create_dir_if_needed(const std::string& pathname, mode_t perms) { in create_dir_if_needed() argument 545 return mkdir(pathname.c_str(), perms); in create_dir_if_needed() 555 if (actual_perms != perms) { in create_dir_if_needed() 556 LOG(WARNING) << pathname << " permissions " << actual_perms << " expected " << perms; in create_dir_if_needed()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 2633 int perms = FileUtils.S_IRUSR|FileUtils.S_IWUSR in setFilePermissionsFromMode() local 2637 perms |= FileUtils.S_IROTH; in setFilePermissionsFromMode() 2640 perms |= FileUtils.S_IWOTH; in setFilePermissionsFromMode() 2644 + ", perms=0x" + Integer.toHexString(perms)); in setFilePermissionsFromMode() 2646 FileUtils.setPermissions(name, perms, -1, -1); in setFilePermissionsFromMode()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 920 final boolean isSignaturePerm(String[] perms) { in isSignaturePerm() argument 921 if (perms == null) { in isSignaturePerm() 925 for (int i = perms.length-1; i >= 0; i--) { in isSignaturePerm() 927 PermissionInfo pi = pm.getPermissionInfo(perms[i], "android", 0); in isSignaturePerm()
|
/frameworks/base/core/proto/android/os/ |
D | incident.proto | 147 // 1. incidentd can't execute `procrank` because it don't have DAC perms
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 364 ArraySet<String> perms = mSystemPermissions.get(uid); in checkUidPermission() local 365 if (perms != null) { in checkUidPermission() 366 if (perms.contains(permName)) { in checkUidPermission() 370 && perms.contains(FULLER_PERMISSION_MAP.get(permName))) { in checkUidPermission()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 4188 TestablePermissions perms = mContext.getTestablePermissions(); in testCanNotifyAsUser_crossUser() local 4189 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testCanNotifyAsUser_crossUser() 4207 TestablePermissions perms = mContext.getTestablePermissions(); in testgetNotificationChannels_crossUser() local 4208 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testgetNotificationChannels_crossUser() 4944 TestablePermissions perms = mContext.getTestablePermissions(); in testAreNotificationsEnabledForPackage_crossUser() local 4945 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testAreNotificationsEnabledForPackage_crossUser() 4961 TestablePermissions perms = mContext.getTestablePermissions(); in testAreBubblesAllowedForPackage_crossUser() local 4962 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testAreBubblesAllowedForPackage_crossUser()
|