/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 124 private static final String NAME = "test"; field in LocationProviderManagerTest 185 createManager(NAME); in setUp() 214 assertThat(mManager.getName()).isEqualTo(NAME); in testProperties() 247 verify(mStateChangedListener, timeout(TIMEOUT_MS).times(2)).onStateChanged(eq(NAME), in testStateChangedListener() 286 verify(listener, timeout(TIMEOUT_MS).times(1)).onProviderEnabledChanged(NAME, CURRENT_USER, in testIsEnabledListener() 290 verify(listener, timeout(TIMEOUT_MS).times(1)).onProviderEnabledChanged(NAME, CURRENT_USER, in testIsEnabledListener() 294 verify(listener, timeout(TIMEOUT_MS).times(2)).onProviderEnabledChanged(NAME, CURRENT_USER, in testIsEnabledListener() 296 verify(listener, timeout(TIMEOUT_MS).times(1)).onProviderEnabledChanged(NAME, OTHER_USER, in testIsEnabledListener() 300 verify(listener, timeout(TIMEOUT_MS).times(2)).onProviderEnabledChanged(NAME, CURRENT_USER, in testIsEnabledListener() 302 verify(listener, timeout(TIMEOUT_MS).times(1)).onProviderEnabledChanged(NAME, OTHER_USER, in testIsEnabledListener() [all …]
|
/frameworks/compile/libbcc/tests/debuginfo/ |
D | build_test_apk.sh | 23 NAME="" 78 NAME="$2" 159 if [ -z "$NAME" ]; then 160 NAME="$ACTIVITY" 168 run $SDK/tools/android create project --target $TARGET --name $NAME --path $OUT_DIR --activity $ACT…
|
/frameworks/base/core/jni/ |
D | scoped_nullable_primitive_array.h | 24 #define ARRAY_TRAITS(ARRAY_TYPE, POINTER_TYPE, NAME) \ argument 25 class NAME ## ArrayTraits { \ 29 env->Get ## NAME ## ArrayRegion(array, start, len, out); \ 33 return env->Get ## NAME ## ArrayElements(array, nullptr); \ 38 env->Release ## NAME ## ArrayElements(array, buffer, mode); \
|
/frameworks/base/libs/hwui/jni/ |
D | scoped_nullable_primitive_array.h | 24 #define ARRAY_TRAITS(ARRAY_TYPE, POINTER_TYPE, NAME) \ argument 25 class NAME ## ArrayTraits { \ 29 env->Get ## NAME ## ArrayRegion(array, start, len, out); \ 33 return env->Get ## NAME ## ArrayElements(array, nullptr); \ 38 env->Release ## NAME ## ArrayElements(array, buffer, mode); \
|
/frameworks/native/include/binder/ |
D | IInterface.h | 115 #define IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument 116 static_assert(internal::allowedManualInterface(NAME), \ 123 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ 127 #define IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument 128 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ 132 #define DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME)\ argument 134 I##INTERFACE##_descriptor_static_str16(__IINTF_CONCAT(u, NAME));\
|
/frameworks/native/libs/binder/include/binder/ |
D | IInterface.h | 115 #define IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument 116 static_assert(internal::allowedManualInterface(NAME), \ 123 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ 127 #define IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument 128 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ 132 #define DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME)\ argument 134 I##INTERFACE##_descriptor_static_str16(__IINTF_CONCAT(u, NAME));\
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 56 private static final String NAME = TAG; field in VirtualDisplayTest 114 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay() 137 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay() 165 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPublicPresentationVirtualDisplay() 218 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testSecurePublicPresentationVirtualDisplay() 255 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testTrustedVirtualDisplay() 275 assertEquals("display name must match supplied name", NAME, display.getName()); in assertDisplayRegistered() 283 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayRegistered() 288 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered() 292 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManager.java | 137 addProfile(mA2dpProfile, A2dpProfile.NAME, in updateLocalProfiles() 143 addProfile(mA2dpSinkProfile, A2dpSinkProfile.NAME, in updateLocalProfiles() 149 addHeadsetProfile(mHeadsetProfile, HeadsetProfile.NAME, in updateLocalProfiles() 157 addHeadsetProfile(mHfpClientProfile, HfpClientProfile.NAME, in updateLocalProfiles() 165 addProfile(mMapClientProfile, MapClientProfile.NAME, in updateLocalProfiles() 171 addProfile(mMapProfile, MapProfile.NAME, BluetoothMap.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles() 177 mProfileNameMap.put(OppProfile.NAME, mOppProfile); in updateLocalProfiles() 183 addProfile(mHearingAidProfile, HearingAidProfile.NAME, in updateLocalProfiles() 189 addProfile(mHidProfile, HidProfile.NAME, in updateLocalProfiles() 195 addProfile(mHidDeviceProfile, HidDeviceProfile.NAME, in updateLocalProfiles() [all …]
|
D | OppProfile.java | 30 static final String NAME = "OPP"; field in OppProfile 72 return NAME; in toString()
|
D | PbapServerProfile.java | 44 public static final String NAME = "PBAP Server"; field in PbapServerProfile 124 return NAME; in toString()
|
D | HidDeviceProfile.java | 45 static final String NAME = "HID DEVICE"; field in HidDeviceProfile 137 return NAME; in toString()
|
D | PanProfile.java | 48 static final String NAME = "PAN"; field in PanProfile 129 return NAME; in toString()
|
/frameworks/compile/slang/ |
D | rs_cc_options.cpp | 39 #define PREFIX(NAME, VALUE) argument 40 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument 49 #define PREFIX(NAME, VALUE) const char *const NAME[] = VALUE; argument 50 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument 57 #define PREFIX(NAME, VALUE) argument 58 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument 61 PREFIX, NAME, HELPTEXT, METAVAR, OPT_##ID, llvm::opt::Option::KIND##Class, \
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleTileViewHelperTest.java | 82 private static final String NAME = "username"; field in PeopleTileViewHelperTest 95 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent()) 101 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent()) 110 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent()) 215 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithLastInteractionTime() local 262 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithLastInteractionTime() local 287 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithGameTypeOnlyIsIgnored() local 334 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithGameTypeOnlyIsIgnored() local 359 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored() local 372 mContext.getString(R.string.new_status_content_description, NAME, in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/provider/ |
D | PhotoContract.java | 35 public static final String NAME = OpenableColumns.DISPLAY_NAME; field 62 PhotoViewColumns.NAME,
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | VolumeLoader.java | 38 map.put(Mandelbulb.NAME,null); in VolumeLoader() 39 map.put(Droid.NAME,null); in VolumeLoader() 59 if (name.equals(Mandelbulb.NAME)) { in getVolume() 62 if (name.equals(Droid.NAME)) { in getVolume()
|
/frameworks/base/apex/media/framework/jni/ |
D | android_media_MediaParserJNI.cpp | 20 #define JNI_FUNCTION(RETURN_TYPE, NAME, ...) \ argument 22 JNIEXPORT RETURN_TYPE Java_android_media_MediaParser_##NAME(JNIEnv* env, jobject thiz, \ 25 JNIEXPORT RETURN_TYPE Java_android_media_MediaParser_##NAME(JNIEnv* env, jobject thiz, \
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | VoiceMailConstants.java | 46 static final int NAME = 0; field in VoiceMailConstants 63 return data[NAME]; in getCarrierName() 106 data[NAME] = parser.getAttributeValue(null, "carrier"); in loadVoiceMail()
|
/frameworks/av/camera/ndk/ |
D | NdkCaptureRequest.cpp | 133 #define SET_ENTRY(NAME,NDK_TYPE) \ argument 135 camera_status_t ACaptureRequest_setEntry_##NAME( \ 155 #define SET_PHYSICAL_ENTRY(NAME,NDK_TYPE) \ in SET_ENTRY() argument 157 camera_status_t ACaptureRequest_setEntry_physicalCamera_##NAME( \ in SET_ENTRY()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentQueryMapTest.java | 61 Settings.System.NAME, in testContentQueryMap() 66 cursor, Settings.System.NAME, true, null); in testContentQueryMap()
|
/frameworks/base/obex/javax/obex/ |
D | HeaderSet.java | 61 public static final int NAME = 0x01; field in HeaderSet 310 case NAME: in setHeader() 516 case NAME: in getHeader() 583 out.write(NAME); in getHeaderList()
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | Constants.kt | 20 const val NAME = "protologtool" constant
|
/frameworks/base/core/java/android/util/ |
D | JsonToken.java | 53 NAME, enumConstant
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/ |
D | HttpConstants.java | 48 public static final String NAME = "Content-Type"; field in HttpConstants.ContentType
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProto.java | 188 if (proto.nextField(IntervalStatsProto.UsageStats.ChooserAction.NAME)) { in loadChooserCounts() 191 action = proto.readString(IntervalStatsProto.UsageStats.ChooserAction.NAME); in loadChooserCounts() 204 case (int) IntervalStatsProto.UsageStats.ChooserAction.NAME: in loadChooserCounts() 206 action = proto.readString(IntervalStatsProto.UsageStats.ChooserAction.NAME); in loadChooserCounts() 230 case (int) IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.NAME: in loadCountsForAction() 232 IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.NAME); in loadCountsForAction() 387 proto.write(IntervalStatsProto.UsageStats.ChooserAction.NAME, action); in writeChooserCounts() 401 proto.write(IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.NAME, key); in writeCountsForAction()
|