Searched refs:log (Results 1 - 25 of 210) sorted by relevance

123456789

/frameworks/native/include/utils/
H A DLog.h23 // The output will be correct when the log file is shared between multiple
31 #include <cutils/log.h>
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DMain.java56 Log log = new Log();
61 if (!processArgs(log, args, osJarPath, osDestJar)) {
62 log.error("Usage: layoutlib_create [-v] [-p] output.jar input.jar ...");
66 log.info("Output: %1$s", osDestJar[0]);
68 log.info("Input : %1$s", path);
72 AsmGenerator agen = new AsmGenerator(log, osDestJar[0], new CreateInfo());
74 AsmAnalyzer aa = new AsmAnalyzer(log, osJarPath, agen,
109 log.error(
114 log.error("- Class not found: %s", fqcn.replace('/', '.'));
117 log
139 processArgs(Log log, String[] args, ArrayList<String> osJarPath, String[] osDestJar) argument
[all...]
H A DLogAbortException.java29 public void error(Log log) { argument
30 log.error(mFormat, mArgs);
/frameworks/base/core/java/android/net/
H A DLinkSocket.java42 if (DBG) log("LinkSocket() EX");
50 if (DBG) log("LinkSocket(notifier) EX");
62 if (DBG) log("LinkSocket(notifier, proxy) EX");
69 if (DBG) log("LinkProperties() EX");
82 if (DBG) log("setNeeds() EX");
90 if (DBG) log("getNeeds() EX");
98 if (DBG) log("getCapabilities() EX");
111 if (DBG) log("getCapabilities(capabilities) EX");
121 if (DBG) log("setTrackedCapabilities(capabilities) EX");
128 if (DBG) log("getTrackedCapabilitie
273 protected static void log(String s) { method in class:LinkSocket
[all...]
/frameworks/base/telephony/tests/telephonytests/src/com/android/frameworks/telephonytests/
H A DTelephonyMockRilTestRunner.java38 log("getAllTests E");
41 log("getAllTests X");
47 log("getLoader EX");
53 log("onCreate E");
60 log("onCreate X");
68 log("onDestroy EX");
77 log("onStart EX");
84 log("finish E");
86 log("finish X");
90 private void log(Strin method in class:TelephonyMockRilTestRunner
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLDebugHelper.java48 * a log.
53 * @param log - null to disable logging, non-null to enable logging.
79 public static GL wrap(GL gl, int configFlags, Writer log) { argument
83 if ( log != null ) {
86 gl = new GLLogWrapper(gl, log, logArgumentNames);
97 * @param log - null to disable logging, non-null to enable logging.
100 public static EGL wrap(EGL egl, int configFlags, Writer log) { argument
101 if (log != null) {
102 egl = new EGLLogWrapper(egl, configFlags, log);
/frameworks/base/services/input/
H A DInputApplication.cpp21 #include <cutils/log.h>
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DAsyncChannelTest.java35 if (DBG) log("test1");
40 protected void log(String s) { method in class:AsyncChannelTest
/frameworks/base/core/tests/overlaytests/
H A Druntests.sh13 rm $log
15 echo "There were errors, please check log at $log"
19 log=$(mktemp)
28 ONE_SHOT_MAKEFILE="$android_mk" make -C "../../../../../" files | tee -a $log
59 $adb shell am instrument -w -e class $class com.android.overlaytest/android.test.InstrumentationTestRunner | tee -a $log
65 $adb remount | tee -a $log
66 $adb sync data | tee -a $log
89 exit $(grep -c -e '^FAILURES' $log)
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DDataConnectionAc.java161 if (DBG) log("reqIsInactive");
171 if (DBG) log("rspIsInactive=" + retVal);
183 log("rspIsInactive error response=" + response);
194 if (DBG) log("reqCid");
205 if (DBG) log("rspCid=" + retVal);
217 log("rspCid error response=" + response);
228 if (DBG) log("reqRefCount");
239 if (DBG) log("rspRefCount=" + retVal);
251 log("rspRefCount error response=" + response);
262 if (DBG) log("reqApnSettin
588 private void log(String s) { method in class:DataConnectionAc
[all...]
H A DRetryManager.java115 if (VDBG) log("constructor");
142 if (VDBG) log("configure: " + maxRetryCount + ", " + retryTime + "," + randomizationTime);
176 if (VDBG) log("configure: '" + configStr + "'");
182 if (VDBG) log("configure: not empty");
190 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'");
194 if (VDBG) log("configure: splitStr[0]='" + splitStr[0] + "'");
197 if (VDBG) log("configure: splitStr[1]='" + splitStr[1] + "'");
230 if (VDBG) log("configure: splitStr[1]='" + splitStr[1] + "'");
242 if (VDBG) log("configure: setting mMaxRetryCount=" + mMaxRetryCount);
244 if (VDBG) log("configur
401 private void log(String s) { method in class:RetryManager
[all...]
H A DDataConnection.java261 protected abstract void log(String s); method in class:DataConnection
269 if (DBG) log("DataConnection constructor E");
286 if (DBG) log("DataConnection constructor X");
307 if (DBG) log("tearDownData radio is on, call deactivateDataCall");
310 if (DBG) log("tearDownData radio is off sendMessage EVENT_DEACTIVATE_DONE immediately");
340 if (DBG) log("notifyConnectionCompleted at " + timeStamp + " cause=" + cause);
351 if (VDBG) log("NotifyDisconnectCompleted");
364 log(String.format("msg=%s msg.obj=%s", msg.toString(),
381 if (DBG) log("NotifyDisconnectCompleted DisconnectParams=" + dp);
494 if (DBG) log("clearSetting
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
H A DUiccController.java55 if (DBG) log("Creating UiccController");
62 if (DBG) log("New phone is GSMPhone");
65 if (DBG) log("New phone type is CDMALTEPhone");
68 if (DBG) log("New phone type is CDMAPhone");
90 private void log(String string) { method in class:UiccController
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java116 log("ConnectivityReceiver: onReceive() is called with " + intent);
141 log("mNetworkInfo: " + mNetworkInfo.toString());
143 log("mOtherNetworkInfo: " + mOtherNetworkInfo.toString());
159 log("scan results are available");
164 log("mWifiNetworkInfo: " + mWifiNetworkInfo.toString());
198 log("Failed to establish AsyncChannel connection");
216 log("onCreate, inst=" + Integer.toHexString(hashCode()));
250 log("Disable soft ap");
254 log("Clear Wifi before we start the test.");
269 log("Initializ
771 private void log(String message) { method in class:ConnectivityManagerTestActivity
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java104 * @param log Set true if you want trace output
106 public void initServer(boolean log) throws Exception { argument
107 initServer(DEFAULT_PORT, DEFAULT_TIMEOUT, log);
113 * @param log Set true if you want trace output
115 public void initServer(int port, boolean log) throws Exception { argument
116 initServer(port, DEFAULT_TIMEOUT, log);
124 * @param log Set true if you want trace output
126 public void initServer(int port, int timeout, boolean log) throws Exception { argument
129 mLog = log;
140 * Print to the log fil
143 protected void log(String s) { method in class:TestWebServer
[all...]
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/mockril/
H A DMockRilTest.java53 static void log(String s) { method in class:MockRilTest
62 log("testProtobufSerdes E");
76 log("testProtobufSerdes X");
83 log("testEchoMsg E");
109 log("testEchoMsg X");
116 log("testGetAs E");
150 log("testGetAs X");
157 log("testGetRadioState E");
174 log("testGetRadioState state=" + state);
178 log("testGetRadioStat
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSimSmsInterfaceManager.java86 if(DBG) log("Cannot load Sms records");
136 if (DBG) log("updateMessageOnIccEf: index=" + index +
157 log("interrupted while trying to update by index");
173 if (DBG) log("copyMessageToIccEf: status=" + status + " ==> " +
187 log("interrupted while trying to update by index");
199 if (DBG) log("getAllMessagesFromEF");
213 log("interrupted while trying to load from the SIM");
228 if (DBG) log("enableCellBroadcastRange");
240 log("Failed to add cell broadcast subscription for MID range " + startMessageId
246 log("Adde
362 protected void log(String msg) { method in class:SimSmsInterfaceManager
[all...]
H A DGsmDataConnectionTracker.java121 if (VDBG) log("getRecoveryAction: " + action);
127 if (VDBG) log("putRecoveryAction: " + action);
151 if (DBG) log("GPRS reconnect alarm. Previous state was " + mState);
178 if (DBG) log("GsmDCT.constructor");
215 if (DBG) log("GsmDCT.dispose");
262 log(String.format("isDataPossible(%s): possible=%b isDataAllowed=%b " +
272 if(DBG) log("finalize");
351 if (DBG) log("return link properites for " + apnType);
355 if (DBG) log("return new LinkProperties");
365 if (DBG) log("ge
2574 protected void log(String s) { method in class:GsmDataConnectionTracker
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothPbap.java150 if (DBG) log("getState()");
157 if (DBG) log(Log.getStackTraceString(new Throwable()));
169 if (DBG) log("getClient()");
176 if (DBG) log(Log.getStackTraceString(new Throwable()));
187 if (DBG) log("isConnected(" + device + ")");
194 if (DBG) log(Log.getStackTraceString(new Throwable()));
205 if (DBG) log("disconnect()");
213 if (DBG) log(Log.getStackTraceString(new Throwable()));
240 if (DBG) log("Proxy object connected");
247 if (DBG) log("Prox
255 private static void log(String msg) { method in class:BluetoothPbap
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DConnectivityManagerMobileTest.java64 log("airplane is not disabled, disable it.");
83 log("tear down ConnectivityManagerTestActivity");
89 log("disable airplane mode if it is enabled");
103 private void log(String message) { method in class:ConnectivityManagerMobileTest
149 log("the state for WIFI is changed");
150 log("reason: " +
155 log("the state for MOBILE is changed");
156 log("reason: " +
185 log("wifi state is enabled");
195 log("Wif
[all...]
H A DWifiConnectionTest.java104 log("Failed to establish AsyncChannel connection");
115 log("==== print network configurations parsed from XML file ====");
116 log("number of access points: " + networks.size());
118 log(config.toString());
124 log("tearDown()");
146 log("config.SSID = " + config.SSID);
147 log("mAct.mWifiManager.getConnectionInfo.getSSID()" +
161 private void log(String message) { method in class:WifiConnectionTest
169 log("-- START Wi-Fi connection test to : " + ssid + " --");
174 log("
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DAndroidPrintStream.java22 * Print stream which log lines using Android's logging system.
35 * @param tag to log
46 protected void log(String line) { method in class:AndroidPrintStream
/frameworks/base/media/mca/filterpacks/native/imageproc/
H A Dinvert.c17 #include <android/log.h>
/frameworks/compile/linkloader/utils/
H A Drsl_assert.cpp25 #include <cutils/log.h>
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java47 * Test that we don't log potentially sensitive cookie values.
65 String log = out.toString("UTF-8");
66 assertTrue(log, log.contains("password"));
67 assertTrue(log, log.contains("fake.domain"));
68 assertFalse(log, log.contains("secret"));

Completed in 497 milliseconds

123456789